package com.example.wx.modle.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("授权成功后的回调入参")
public class WxPublicAuthSuccessReqDTO {

    @NotBlank(message = "appId不能为空")
    @ApiModelProperty("appId")
    private String appId;

    @NotBlank(message = "code不能为空")
    @ApiModelProperty("code")
    private String code;
}
